<?php

namespace App\Enums;

enum PayChannel : string
{
    case Cash = 'cash';

//    case WeChat = 'wechat';
//
//    case AliPay = 'alipay';

    case LeShua = 'leshua';

//    case Card = 'card';

    case System = 'system';

    case Bad = 'bad';

    case Member = 'member';

    case MeiTuan = 'meituan';

    case DouYin = 'douyin';

    public function label()
    {
        return match ($this)
        {
            self::Cash => '现金',
//            self::WeChat => '微信',
//            self::AliPay => '支付宝',
//            self::Card => '银行卡',
            self::System => '管理端',
            self::Bad => '挂单|坏账',
            self::Member => '会员卡',
            self::LeShua => '乐刷',
            self::MeiTuan => '美团',
            self::DouYin => '抖音',
        };
    }
}
